The directory "spool:mqueue:" is searched for files with extension WRK. Each WRK file contains information used to construct the MailBox message header. For each WRK file, there is an associaated TXT file which contains the message text.
The first record is the source of the message. It's form is:
"From: "callsign["@"callsign]
The MailBox FROM field is taken from the first (or only) callsign.
The second record is the destination for the Message. It's form
is:
"To: "tonode["%"atnode]"@"hostnode
tonode, atnode, and hostnode are truncated to six characters.
The MailBox TO field is taken from tonode.
The MailBox AT field is taken from atnode, if it exists.
The MailBox message title is taken from the RFC-822 header in the
TXT file.
Rules for MailBox to SMTP message transfer.
For each message going to smtp, a WRK and TXT file are created in the directory "spool:mqueue:". The TXT file contains an RFC-822 message header, and the message text.
The WRK file has 3 lines:
desig
from"@"bbs
fwdadr
desig is taken from the first field of the FWD.MB entry.
from is taken from the message FROM field.
bbs is taken from the message AT field.
if the AT field is blank, the host callsign is used.
fwdadr is taken from the second field of the FWD.MB entry.